package com.lcj.crawler;

import com.geccocrawler.gecco.annotation.Gecco;
import com.geccocrawler.gecco.pipeline.Pipeline;
import com.geccocrawler.gecco.request.HttpGetRequest;
import com.geccocrawler.gecco.request.HttpRequest;
import com.geccocrawler.gecco.scheduler.DeriveSchedulerContext;
import com.geccocrawler.gecco.spider.HtmlBean;
import org.springframework.stereotype.Service;

@Service
@Gecco(matchUrl = "http://zp.hnzpsc.com/index.php?m=Home&c=Members&a=login", pipelines = { "dxrcAjaxPage" })
public class DxrcAjaxPage implements HtmlBean,Pipeline<DxrcAjaxPage> {
    @Override
    public void process(DxrcAjaxPage dxrcAjaxPage) {
        HttpRequest sub = new HttpGetRequest("http://zp.hnzpsc.com/Jobs/jobs_list/p/66.html");
        DeriveSchedulerContext.into(sub);
    }
}
